package com.dalin.platform.loa.condition;

import com.dalin.common.pager.Condition;
/*****************************************************************************
 * @content: 类信息                                                                                                                                *
 * @author : 那建林                                                                                                                                 *
 * @crtDate: 2010-12-30 13:13:55                                            *
 * @modDate: 2010-12-30 13:13:55                                            *
 * @version: 1.00                                                           *
 ****************************************************************************/
public class LoaRoleResourceCondition extends Condition{
    private Long resourceId; // RESOURCE_ID,16,0,资源ID
    private Long roleId; // ROLE_ID,16,0,角色ID





    public LoaRoleResourceCondition prepareParams() {
        setBaseQueryStr("from LoaRoleResourceEntity h");
        setParam("h.roleId", "=", roleId);
        setParam("h.resourceId", "=", resourceId);
        return this;
    }





	public Long getResourceId() {
		return resourceId;
	}

	public void setResourceId(Long resourceId) {
		this.resourceId = resourceId;
	}

	public Long getRoleId() {
		return roleId;
	}
	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}
}
